package org.hotelsystem.hoteladminsystem.Pojo;

import java.util.Date;
import java.io.Serializable;

/**
 * (Dindan)实体类
 *
 * @author makejava
 * @since 2024-08-06 00:49:02
 */
public class Dindan implements Serializable {
    private static final long serialVersionUID = -14212391480211026L;
/**
     * 订单编号
     */
    private Integer id;
/**
     * 指定的用户
     */
    private String user;
/**
     * 指定的房间编号，可以获取酒店信息
     */
    private Integer roomid;
/**
     * 下单时间
     */
    private Date time;
/**
     * 下单时的单价，因为房间单价改变会改变就会影响这里
     */
    private Float price;
/**
     * 入住的天数，
     */
    private Integer livedays;
/**
     * 总价=livedays*price
     */
    private Float taltalprice;
/**
     * 备注信息
     */
    private String text;
/**
     * 酒店编号，必须有，否则酒店删除此房间就再也找不到这个订单了！
     */
    private Integer hotelid;
/**
     * 入住时间
     */
    private Date intotime;
/**
     * 离开时间
     */
    private Date outtime;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getUser() {
        return user;
    }

    public void setUser(String user) {
        this.user = user;
    }

    public Integer getRoomid() {
        return roomid;
    }

    public void setRoomid(Integer roomid) {
        this.roomid = roomid;
    }

    public Date getTime() {
        return time;
    }

    public void setTime(Date time) {
        this.time = time;
    }

    public Float getPrice() {
        return price;
    }

    public void setPrice(Float price) {
        this.price = price;
    }

    public Integer getLivedays() {
        return livedays;
    }

    public void setLivedays(Integer livedays) {
        this.livedays = livedays;
    }

    public Float getTaltalprice() {
        return taltalprice;
    }

    public void setTaltalprice(Float taltalprice) {
        this.taltalprice = taltalprice;
    }

    public String getText() {
        return text;
    }

    public void setText(String text) {
        this.text = text;
    }

    public Integer getHotelid() {
        return hotelid;
    }

    public void setHotelid(Integer hotelid) {
        this.hotelid = hotelid;
    }

    public Date getIntotime() {
        return intotime;
    }

    public void setIntotime(Date intotime) {
        this.intotime = intotime;
    }

    public Date getOuttime() {
        return outtime;
    }

    public void setOuttime(Date outtime) {
        this.outtime = outtime;
    }

}

